package com.fire.chat.entity.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @program: hxzq
 * @description: 用户角色业务对象
 * @author: xjr
 * @create: 2020-11-09 17:48
 **/
@Data
@NoArgsConstructor
@ApiModel("用户角色业务对象")
@Accessors(chain = true)
public class SysUserRoleBO implements Serializable {

    @ApiModelProperty(value = "用户id",example = "0")
    @NotNull
    private Long uid;

    @ApiModelProperty("角色id列表")
    @NotNull
    private List<Long> roleIds;
}
